<a href="<?php echo curPageURL() ?>&printMode=true" role="button"
    class="btn adminButton2" data-toggle="modal">
  Passer en mode impression
</a>